home *** CD-ROM | disk | FTP | other *** search
- # Dial script file for STiK.ACC
- #
- #
- # There are two parts to the connection process.
- #
- # The first part is initialising the modem, dialing a remote system
- # and establishing a connection to a remote modem.
- #
- # The second part is to log into the remote computer. This will
- # involve entering a username and password, selecting SLIP mode,
- # and reading the Internet Address that your system will have for
- # the duration of the session.
- #
- #
- # Dial Script Part 1 - Establishing the connection.
- #
- # The first thing to do is to specify the speed of the modem with
- # the BAUD_RATE variable.
- #
- BAUD_RATE = 38400
- #
- #
- # Next you should define how your modem responds to the DTR
- # signal. STiK will use the DTR signal to hangup the modem
- # if HANGUP = DTR is set. Otherwise set HANGUP to the
- # appropriate hangup string for your modem. (eg: HANGUP = ATH)
- #
- HANGUP = DTR
- #
- #
- # PREFIX sets the dial prefix (ie: ATD, ATDT, ATDP)
- #
- PREFIX = ATDT
- #
- #
- # INIT set the string you can use to initialise the modem.
- #
- INIT = ATZ
- #
- #
- # Dialing paramaters.
- #
- # The dialing parameters are CONNECT_WAIT and REDIAL_DELAY. These
- # are times in seconds. CONNECT_WAIT is the amount of time to wait
- # for a connection after dialing a number. REDIAL_DELAY is the amount
- # of time to wait in between dial attempts.
- #
- CONNECT_WAIT = 35
- REDIAL_DELAY = 2
- #
- #
- # Phone Number(s). PHONE_NUMBER = number. Some providers
- # have more than one number you can dial. You can specify
- # up to five phone numbers here.
- #
- PHONE_NUMBER = 01908216677
- #PHONE_NUMBER = 2926200
- #
- #
- # Determining connection success/failure.
- #
- # Connection success can be determined either by detecting the
- # modems Carrier Detect signal (SUCCESS = CDWAIT), or waiting
- # for a CONNECT response (SUCCESS = CONNECT) from the modem.
- # Failure can be determined by a timeout or a modem response
- # such as NO CARRIER, BUSY, NO DIALTONE etc.
- # Up to five FAILURE test words can be set.
- #
- SUCCESS = CONNECT
- FAILURE = BUSY
- FAILURE = NO CARRIER
- FAILURE = NO DIALTONE
- #
- #
- #
- # Dial Script Part 2 - Log in to the Service Provider.
- #
- # The STiK dialer uses the standard `conversational' method for
- # login to the provider. This involves searching for certain
- # words and sending an appropriate response. The special
- # response $GET_IP is used to read the IP address that your
- # provider has assigned you for this session. If your provider
- # has allocated you a permanent IP Address, then you should set
- # it in the default.cfg file and NOT use $GET_IP.
- #
- # Each step of the `conversation' is specified as a FIND line
- # and a RESP line. There can be up to 10 steps. Each FIND
- # must have a matching RESP, or the dialer will get confused.
- #
- # By default each RESP line is sent with a carriage return
- # character at the end. If you need to use a line feed character
- # instead then put a | at the end of the line. This only works
- # if the | is the last character of the line.
- #
- #FIND = Enter:
- #RESP = 3
- #
- FIND = ogin:
- RESP = your username
- #
- FIND = assword:
- RESP = your_password
- #
- #FIND = Your address is
- #RESP = $GET_IP
- #